package com.zheng.pay.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PayTransOrderExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public PayTransOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTransorderidIsNull() {
            addCriterion("TransOrderId is null");
            return (Criteria) this;
        }

        public Criteria andTransorderidIsNotNull() {
            addCriterion("TransOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andTransorderidEqualTo(String value) {
            addCriterion("TransOrderId =", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidNotEqualTo(String value) {
            addCriterion("TransOrderId <>", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidGreaterThan(String value) {
            addCriterion("TransOrderId >", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidGreaterThanOrEqualTo(String value) {
            addCriterion("TransOrderId >=", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidLessThan(String value) {
            addCriterion("TransOrderId <", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidLessThanOrEqualTo(String value) {
            addCriterion("TransOrderId <=", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidLike(String value) {
            addCriterion("TransOrderId like", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidNotLike(String value) {
            addCriterion("TransOrderId not like", value, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidIn(List<String> values) {
            addCriterion("TransOrderId in", values, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidNotIn(List<String> values) {
            addCriterion("TransOrderId not in", values, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidBetween(String value1, String value2) {
            addCriterion("TransOrderId between", value1, value2, "transorderid");
            return (Criteria) this;
        }

        public Criteria andTransorderidNotBetween(String value1, String value2) {
            addCriterion("TransOrderId not between", value1, value2, "transorderid");
            return (Criteria) this;
        }

        public Criteria andMchidIsNull() {
            addCriterion("MchId is null");
            return (Criteria) this;
        }

        public Criteria andMchidIsNotNull() {
            addCriterion("MchId is not null");
            return (Criteria) this;
        }

        public Criteria andMchidEqualTo(String value) {
            addCriterion("MchId =", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotEqualTo(String value) {
            addCriterion("MchId <>", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidGreaterThan(String value) {
            addCriterion("MchId >", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidGreaterThanOrEqualTo(String value) {
            addCriterion("MchId >=", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLessThan(String value) {
            addCriterion("MchId <", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLessThanOrEqualTo(String value) {
            addCriterion("MchId <=", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLike(String value) {
            addCriterion("MchId like", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotLike(String value) {
            addCriterion("MchId not like", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidIn(List<String> values) {
            addCriterion("MchId in", values, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotIn(List<String> values) {
            addCriterion("MchId not in", values, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidBetween(String value1, String value2) {
            addCriterion("MchId between", value1, value2, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotBetween(String value1, String value2) {
            addCriterion("MchId not between", value1, value2, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchtransnoIsNull() {
            addCriterion("MchTransNo is null");
            return (Criteria) this;
        }

        public Criteria andMchtransnoIsNotNull() {
            addCriterion("MchTransNo is not null");
            return (Criteria) this;
        }

        public Criteria andMchtransnoEqualTo(String value) {
            addCriterion("MchTransNo =", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoNotEqualTo(String value) {
            addCriterion("MchTransNo <>", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoGreaterThan(String value) {
            addCriterion("MchTransNo >", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoGreaterThanOrEqualTo(String value) {
            addCriterion("MchTransNo >=", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoLessThan(String value) {
            addCriterion("MchTransNo <", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoLessThanOrEqualTo(String value) {
            addCriterion("MchTransNo <=", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoLike(String value) {
            addCriterion("MchTransNo like", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoNotLike(String value) {
            addCriterion("MchTransNo not like", value, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoIn(List<String> values) {
            addCriterion("MchTransNo in", values, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoNotIn(List<String> values) {
            addCriterion("MchTransNo not in", values, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoBetween(String value1, String value2) {
            addCriterion("MchTransNo between", value1, value2, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andMchtransnoNotBetween(String value1, String value2) {
            addCriterion("MchTransNo not between", value1, value2, "mchtransno");
            return (Criteria) this;
        }

        public Criteria andChannelidIsNull() {
            addCriterion("ChannelId is null");
            return (Criteria) this;
        }

        public Criteria andChannelidIsNotNull() {
            addCriterion("ChannelId is not null");
            return (Criteria) this;
        }

        public Criteria andChannelidEqualTo(String value) {
            addCriterion("ChannelId =", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotEqualTo(String value) {
            addCriterion("ChannelId <>", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidGreaterThan(String value) {
            addCriterion("ChannelId >", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelId >=", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidLessThan(String value) {
            addCriterion("ChannelId <", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidLessThanOrEqualTo(String value) {
            addCriterion("ChannelId <=", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidLike(String value) {
            addCriterion("ChannelId like", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotLike(String value) {
            addCriterion("ChannelId not like", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidIn(List<String> values) {
            addCriterion("ChannelId in", values, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotIn(List<String> values) {
            addCriterion("ChannelId not in", values, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidBetween(String value1, String value2) {
            addCriterion("ChannelId between", value1, value2, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotBetween(String value1, String value2) {
            addCriterion("ChannelId not between", value1, value2, "channelid");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("Amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("Amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Long value) {
            addCriterion("Amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Long value) {
            addCriterion("Amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Long value) {
            addCriterion("Amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("Amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Long value) {
            addCriterion("Amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Long value) {
            addCriterion("Amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Long> values) {
            addCriterion("Amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Long> values) {
            addCriterion("Amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Long value1, Long value2) {
            addCriterion("Amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Long value1, Long value2) {
            addCriterion("Amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("Currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("Currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("Currency =", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualTo(String value) {
            addCriterion("Currency <>", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("Currency >", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("Currency >=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("Currency <", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualTo(String value) {
            addCriterion("Currency <=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLike(String value) {
            addCriterion("Currency like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotLike(String value) {
            addCriterion("Currency not like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyIn(List<String> values) {
            addCriterion("Currency in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotIn(List<String> values) {
            addCriterion("Currency not in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyBetween(String value1, String value2) {
            addCriterion("Currency between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotBetween(String value1, String value2) {
            addCriterion("Currency not between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("Result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("Result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(Byte value) {
            addCriterion("Result =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(Byte value) {
            addCriterion("Result <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(Byte value) {
            addCriterion("Result >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(Byte value) {
            addCriterion("Result >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(Byte value) {
            addCriterion("Result <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(Byte value) {
            addCriterion("Result <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<Byte> values) {
            addCriterion("Result in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<Byte> values) {
            addCriterion("Result not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(Byte value1, Byte value2) {
            addCriterion("Result between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(Byte value1, Byte value2) {
            addCriterion("Result not between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andClientipIsNull() {
            addCriterion("ClientIp is null");
            return (Criteria) this;
        }

        public Criteria andClientipIsNotNull() {
            addCriterion("ClientIp is not null");
            return (Criteria) this;
        }

        public Criteria andClientipEqualTo(String value) {
            addCriterion("ClientIp =", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotEqualTo(String value) {
            addCriterion("ClientIp <>", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipGreaterThan(String value) {
            addCriterion("ClientIp >", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipGreaterThanOrEqualTo(String value) {
            addCriterion("ClientIp >=", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipLessThan(String value) {
            addCriterion("ClientIp <", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipLessThanOrEqualTo(String value) {
            addCriterion("ClientIp <=", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipLike(String value) {
            addCriterion("ClientIp like", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotLike(String value) {
            addCriterion("ClientIp not like", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipIn(List<String> values) {
            addCriterion("ClientIp in", values, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotIn(List<String> values) {
            addCriterion("ClientIp not in", values, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipBetween(String value1, String value2) {
            addCriterion("ClientIp between", value1, value2, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotBetween(String value1, String value2) {
            addCriterion("ClientIp not between", value1, value2, "clientip");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNull() {
            addCriterion("Device is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNotNull() {
            addCriterion("Device is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceEqualTo(String value) {
            addCriterion("Device =", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotEqualTo(String value) {
            addCriterion("Device <>", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThan(String value) {
            addCriterion("Device >", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThanOrEqualTo(String value) {
            addCriterion("Device >=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThan(String value) {
            addCriterion("Device <", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThanOrEqualTo(String value) {
            addCriterion("Device <=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLike(String value) {
            addCriterion("Device like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotLike(String value) {
            addCriterion("Device not like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceIn(List<String> values) {
            addCriterion("Device in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotIn(List<String> values) {
            addCriterion("Device not in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceBetween(String value1, String value2) {
            addCriterion("Device between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotBetween(String value1, String value2) {
            addCriterion("Device not between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoIsNull() {
            addCriterion("RemarkInfo is null");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoIsNotNull() {
            addCriterion("RemarkInfo is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoEqualTo(String value) {
            addCriterion("RemarkInfo =", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotEqualTo(String value) {
            addCriterion("RemarkInfo <>", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoGreaterThan(String value) {
            addCriterion("RemarkInfo >", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoGreaterThanOrEqualTo(String value) {
            addCriterion("RemarkInfo >=", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoLessThan(String value) {
            addCriterion("RemarkInfo <", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoLessThanOrEqualTo(String value) {
            addCriterion("RemarkInfo <=", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoLike(String value) {
            addCriterion("RemarkInfo like", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotLike(String value) {
            addCriterion("RemarkInfo not like", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoIn(List<String> values) {
            addCriterion("RemarkInfo in", values, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotIn(List<String> values) {
            addCriterion("RemarkInfo not in", values, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoBetween(String value1, String value2) {
            addCriterion("RemarkInfo between", value1, value2, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotBetween(String value1, String value2) {
            addCriterion("RemarkInfo not between", value1, value2, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andChanneluserIsNull() {
            addCriterion("ChannelUser is null");
            return (Criteria) this;
        }

        public Criteria andChanneluserIsNotNull() {
            addCriterion("ChannelUser is not null");
            return (Criteria) this;
        }

        public Criteria andChanneluserEqualTo(String value) {
            addCriterion("ChannelUser =", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotEqualTo(String value) {
            addCriterion("ChannelUser <>", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserGreaterThan(String value) {
            addCriterion("ChannelUser >", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelUser >=", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserLessThan(String value) {
            addCriterion("ChannelUser <", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserLessThanOrEqualTo(String value) {
            addCriterion("ChannelUser <=", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserLike(String value) {
            addCriterion("ChannelUser like", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotLike(String value) {
            addCriterion("ChannelUser not like", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserIn(List<String> values) {
            addCriterion("ChannelUser in", values, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotIn(List<String> values) {
            addCriterion("ChannelUser not in", values, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserBetween(String value1, String value2) {
            addCriterion("ChannelUser between", value1, value2, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotBetween(String value1, String value2) {
            addCriterion("ChannelUser not between", value1, value2, "channeluser");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("UserName is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("UserName is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("UserName =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("UserName <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("UserName >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("UserName >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("UserName <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("UserName <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("UserName like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("UserName not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("UserName in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("UserName not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("UserName between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("UserName not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andChannelmchidIsNull() {
            addCriterion("ChannelMchId is null");
            return (Criteria) this;
        }

        public Criteria andChannelmchidIsNotNull() {
            addCriterion("ChannelMchId is not null");
            return (Criteria) this;
        }

        public Criteria andChannelmchidEqualTo(String value) {
            addCriterion("ChannelMchId =", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotEqualTo(String value) {
            addCriterion("ChannelMchId <>", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidGreaterThan(String value) {
            addCriterion("ChannelMchId >", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelMchId >=", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidLessThan(String value) {
            addCriterion("ChannelMchId <", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidLessThanOrEqualTo(String value) {
            addCriterion("ChannelMchId <=", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidLike(String value) {
            addCriterion("ChannelMchId like", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotLike(String value) {
            addCriterion("ChannelMchId not like", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidIn(List<String> values) {
            addCriterion("ChannelMchId in", values, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotIn(List<String> values) {
            addCriterion("ChannelMchId not in", values, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidBetween(String value1, String value2) {
            addCriterion("ChannelMchId between", value1, value2, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotBetween(String value1, String value2) {
            addCriterion("ChannelMchId not between", value1, value2, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelordernoIsNull() {
            addCriterion("ChannelOrderNo is null");
            return (Criteria) this;
        }

        public Criteria andChannelordernoIsNotNull() {
            addCriterion("ChannelOrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andChannelordernoEqualTo(String value) {
            addCriterion("ChannelOrderNo =", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotEqualTo(String value) {
            addCriterion("ChannelOrderNo <>", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoGreaterThan(String value) {
            addCriterion("ChannelOrderNo >", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelOrderNo >=", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoLessThan(String value) {
            addCriterion("ChannelOrderNo <", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoLessThanOrEqualTo(String value) {
            addCriterion("ChannelOrderNo <=", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoLike(String value) {
            addCriterion("ChannelOrderNo like", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotLike(String value) {
            addCriterion("ChannelOrderNo not like", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoIn(List<String> values) {
            addCriterion("ChannelOrderNo in", values, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotIn(List<String> values) {
            addCriterion("ChannelOrderNo not in", values, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoBetween(String value1, String value2) {
            addCriterion("ChannelOrderNo between", value1, value2, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotBetween(String value1, String value2) {
            addCriterion("ChannelOrderNo not between", value1, value2, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeIsNull() {
            addCriterion("ChannelErrCode is null");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeIsNotNull() {
            addCriterion("ChannelErrCode is not null");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeEqualTo(String value) {
            addCriterion("ChannelErrCode =", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotEqualTo(String value) {
            addCriterion("ChannelErrCode <>", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeGreaterThan(String value) {
            addCriterion("ChannelErrCode >", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelErrCode >=", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeLessThan(String value) {
            addCriterion("ChannelErrCode <", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeLessThanOrEqualTo(String value) {
            addCriterion("ChannelErrCode <=", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeLike(String value) {
            addCriterion("ChannelErrCode like", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotLike(String value) {
            addCriterion("ChannelErrCode not like", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeIn(List<String> values) {
            addCriterion("ChannelErrCode in", values, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotIn(List<String> values) {
            addCriterion("ChannelErrCode not in", values, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeBetween(String value1, String value2) {
            addCriterion("ChannelErrCode between", value1, value2, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotBetween(String value1, String value2) {
            addCriterion("ChannelErrCode not between", value1, value2, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgIsNull() {
            addCriterion("ChannelErrMsg is null");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgIsNotNull() {
            addCriterion("ChannelErrMsg is not null");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgEqualTo(String value) {
            addCriterion("ChannelErrMsg =", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotEqualTo(String value) {
            addCriterion("ChannelErrMsg <>", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgGreaterThan(String value) {
            addCriterion("ChannelErrMsg >", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelErrMsg >=", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgLessThan(String value) {
            addCriterion("ChannelErrMsg <", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgLessThanOrEqualTo(String value) {
            addCriterion("ChannelErrMsg <=", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgLike(String value) {
            addCriterion("ChannelErrMsg like", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotLike(String value) {
            addCriterion("ChannelErrMsg not like", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgIn(List<String> values) {
            addCriterion("ChannelErrMsg in", values, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotIn(List<String> values) {
            addCriterion("ChannelErrMsg not in", values, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgBetween(String value1, String value2) {
            addCriterion("ChannelErrMsg between", value1, value2, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotBetween(String value1, String value2) {
            addCriterion("ChannelErrMsg not between", value1, value2, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andExtraIsNull() {
            addCriterion("Extra is null");
            return (Criteria) this;
        }

        public Criteria andExtraIsNotNull() {
            addCriterion("Extra is not null");
            return (Criteria) this;
        }

        public Criteria andExtraEqualTo(String value) {
            addCriterion("Extra =", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotEqualTo(String value) {
            addCriterion("Extra <>", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThan(String value) {
            addCriterion("Extra >", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThanOrEqualTo(String value) {
            addCriterion("Extra >=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThan(String value) {
            addCriterion("Extra <", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThanOrEqualTo(String value) {
            addCriterion("Extra <=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLike(String value) {
            addCriterion("Extra like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotLike(String value) {
            addCriterion("Extra not like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraIn(List<String> values) {
            addCriterion("Extra in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotIn(List<String> values) {
            addCriterion("Extra not in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraBetween(String value1, String value2) {
            addCriterion("Extra between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotBetween(String value1, String value2) {
            addCriterion("Extra not between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andNotifyurlIsNull() {
            addCriterion("NotifyUrl is null");
            return (Criteria) this;
        }

        public Criteria andNotifyurlIsNotNull() {
            addCriterion("NotifyUrl is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyurlEqualTo(String value) {
            addCriterion("NotifyUrl =", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotEqualTo(String value) {
            addCriterion("NotifyUrl <>", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlGreaterThan(String value) {
            addCriterion("NotifyUrl >", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlGreaterThanOrEqualTo(String value) {
            addCriterion("NotifyUrl >=", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlLessThan(String value) {
            addCriterion("NotifyUrl <", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlLessThanOrEqualTo(String value) {
            addCriterion("NotifyUrl <=", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlLike(String value) {
            addCriterion("NotifyUrl like", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotLike(String value) {
            addCriterion("NotifyUrl not like", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlIn(List<String> values) {
            addCriterion("NotifyUrl in", values, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotIn(List<String> values) {
            addCriterion("NotifyUrl not in", values, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlBetween(String value1, String value2) {
            addCriterion("NotifyUrl between", value1, value2, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotBetween(String value1, String value2) {
            addCriterion("NotifyUrl not between", value1, value2, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andParam1IsNull() {
            addCriterion("Param1 is null");
            return (Criteria) this;
        }

        public Criteria andParam1IsNotNull() {
            addCriterion("Param1 is not null");
            return (Criteria) this;
        }

        public Criteria andParam1EqualTo(String value) {
            addCriterion("Param1 =", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotEqualTo(String value) {
            addCriterion("Param1 <>", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThan(String value) {
            addCriterion("Param1 >", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThanOrEqualTo(String value) {
            addCriterion("Param1 >=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThan(String value) {
            addCriterion("Param1 <", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThanOrEqualTo(String value) {
            addCriterion("Param1 <=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Like(String value) {
            addCriterion("Param1 like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotLike(String value) {
            addCriterion("Param1 not like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1In(List<String> values) {
            addCriterion("Param1 in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotIn(List<String> values) {
            addCriterion("Param1 not in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Between(String value1, String value2) {
            addCriterion("Param1 between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotBetween(String value1, String value2) {
            addCriterion("Param1 not between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam2IsNull() {
            addCriterion("Param2 is null");
            return (Criteria) this;
        }

        public Criteria andParam2IsNotNull() {
            addCriterion("Param2 is not null");
            return (Criteria) this;
        }

        public Criteria andParam2EqualTo(String value) {
            addCriterion("Param2 =", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotEqualTo(String value) {
            addCriterion("Param2 <>", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThan(String value) {
            addCriterion("Param2 >", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThanOrEqualTo(String value) {
            addCriterion("Param2 >=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThan(String value) {
            addCriterion("Param2 <", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThanOrEqualTo(String value) {
            addCriterion("Param2 <=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Like(String value) {
            addCriterion("Param2 like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotLike(String value) {
            addCriterion("Param2 not like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2In(List<String> values) {
            addCriterion("Param2 in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotIn(List<String> values) {
            addCriterion("Param2 not in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Between(String value1, String value2) {
            addCriterion("Param2 between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotBetween(String value1, String value2) {
            addCriterion("Param2 not between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andExpiretimeIsNull() {
            addCriterion("ExpireTime is null");
            return (Criteria) this;
        }

        public Criteria andExpiretimeIsNotNull() {
            addCriterion("ExpireTime is not null");
            return (Criteria) this;
        }

        public Criteria andExpiretimeEqualTo(Date value) {
            addCriterion("ExpireTime =", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeNotEqualTo(Date value) {
            addCriterion("ExpireTime <>", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeGreaterThan(Date value) {
            addCriterion("ExpireTime >", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ExpireTime >=", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeLessThan(Date value) {
            addCriterion("ExpireTime <", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeLessThanOrEqualTo(Date value) {
            addCriterion("ExpireTime <=", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeIn(List<Date> values) {
            addCriterion("ExpireTime in", values, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeNotIn(List<Date> values) {
            addCriterion("ExpireTime not in", values, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeBetween(Date value1, Date value2) {
            addCriterion("ExpireTime between", value1, value2, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeNotBetween(Date value1, Date value2) {
            addCriterion("ExpireTime not between", value1, value2, "expiretime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeIsNull() {
            addCriterion("TransSuccTime is null");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeIsNotNull() {
            addCriterion("TransSuccTime is not null");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeEqualTo(Date value) {
            addCriterion("TransSuccTime =", value, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeNotEqualTo(Date value) {
            addCriterion("TransSuccTime <>", value, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeGreaterThan(Date value) {
            addCriterion("TransSuccTime >", value, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TransSuccTime >=", value, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeLessThan(Date value) {
            addCriterion("TransSuccTime <", value, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeLessThanOrEqualTo(Date value) {
            addCriterion("TransSuccTime <=", value, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeIn(List<Date> values) {
            addCriterion("TransSuccTime in", values, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeNotIn(List<Date> values) {
            addCriterion("TransSuccTime not in", values, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeBetween(Date value1, Date value2) {
            addCriterion("TransSuccTime between", value1, value2, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andTranssucctimeNotBetween(Date value1, Date value2) {
            addCriterion("TransSuccTime not between", value1, value2, "transsucctime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}